package com.software.loginregister.entity.vo;

import com.software.loginregister.entity.Works;

import java.util.List;

public class UserFollowDTO {
    private Long userId;
    private String nickname;
    private Integer followersCount;
    private String avatar;
    private List<Works> topWorks;
    private Integer worksCount;

    public UserFollowDTO() {
    }

    public UserFollowDTO(Long userId, String nickname, Integer followersCount, String avatar, List<Works> topWorks, Integer worksCount) {
        this.userId = userId;
        this.nickname = nickname;
        this.followersCount = followersCount;
        this.avatar = avatar;
        this.topWorks = topWorks;
        this.worksCount = worksCount;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getFollowersCount() {
        return followersCount;
    }

    public void setFollowersCount(Integer followersCount) {
        this.followersCount = followersCount;
    }

    public List<Works> getTopWorks() {
        return topWorks;
    }

    public void setTopWorks(List<Works> topWorks) {
        this.topWorks = topWorks;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getWorksCount() {
        return worksCount;
    }

    public void setWorksCount(Integer worksCount) {
        this.worksCount = worksCount;
    }

    @Override
    public String toString() {
        return "UserFollowDTO{" +
                "userId=" + userId +
                ", nickname='" + nickname + '\'' +
                ", followersCount=" + followersCount +
                ", avatar='" + avatar + '\'' +
                ", topWorks=" + topWorks +
                ", worksCount=" + worksCount +
                '}';
    }
}
